package org.nfIt.service;

import org.nfIt.dto.system.AssginMenuDto;

import java.util.Map;

/**
 * ClossName:SysRoleMenuService
 * Pakage:org.nfIt.service
 * Description
 *
 * @Author L
 * @Create 2024/7/17 20:33
 * @Version 2023.1.3
 */
public interface SysRoleMenuService {
    /**
     * 查询角色已选择的菜单
     * @param roleId 角色id
     */
    Map<String, Object> findSysRoleMenuByRoleId(Long roleId);

    /**
     *保存分配的菜单id
     * @param assginMenuDto 前端传来的数据
     */
    void doAssign(AssginMenuDto assginMenuDto);
}
